home *** CD-ROM | disk | FTP | other *** search
/ PC Home 109 / PC Home 109.iso / data1.cab / Program_Files / id006.dxr / 00042_52.ls < prev    next >
Encoding:
Text File  |  2001-03-02  |  2.4 KB  |  93 lines

  1. on exitFrame
  2.   if the timer < 3620 then
  3.     go(the frame)
  4.   else
  5.     puppetSprite(20, 0)
  6.     puppetSprite(21, 0)
  7.     puppetSprite(22, 0)
  8.     puppetSprite(23, 0)
  9.     puppetSprite(24, 0)
  10.     set the visible of sprite 20 to 1
  11.     set the visible of sprite 21 to 1
  12.     set the visible of sprite 22 to 1
  13.     set the visible of sprite 23 to 1
  14.     set the visible of sprite 24 to 1
  15.     go(25)
  16.   end if
  17.   puppetSprite(20, 1)
  18.   puppetSprite(21, 1)
  19.   puppetSprite(22, 1)
  20.   puppetSprite(23, 1)
  21.   puppetSprite(24, 1)
  22.   set temp to random(4)
  23.   if temp = 1 then
  24.     set the locV of sprite 20 to the locV of sprite 20 + 3
  25.   end if
  26.   if temp = 2 then
  27.     set the locV of sprite 20 to the locV of sprite 20 - 3
  28.   end if
  29.   if temp = 3 then
  30.     set the locH of sprite 20 to the locH of sprite 20 + 3
  31.   end if
  32.   if temp = 4 then
  33.     set the locH of sprite 20 to the locH of sprite 20 - 3
  34.   end if
  35.   if temp = 1 then
  36.     set the locV of sprite 21 to the locV of sprite 21 + 2
  37.   end if
  38.   if temp = 2 then
  39.     set the locV of sprite 21 to the locV of sprite 21 - 5
  40.   end if
  41.   if temp = 3 then
  42.     set the locH of sprite 21 to the locH of sprite 21 + 2
  43.   end if
  44.   if temp = 4 then
  45.     set the locH of sprite 21 to the locH of sprite 21 - 5
  46.   end if
  47.   if temp = 1 then
  48.     set the locV of sprite 22 to the locV of sprite 22 + 2
  49.   end if
  50.   if temp = 2 then
  51.     set the locV of sprite 22 to the locV of sprite 22 - 5
  52.   end if
  53.   if temp = 3 then
  54.     set the locH of sprite 22 to the locH of sprite 22 + 5
  55.   end if
  56.   if temp = 4 then
  57.     set the locH of sprite 22 to the locH of sprite 22 - 2
  58.   end if
  59.   if temp = 1 then
  60.     set the locV of sprite 23 to the locV of sprite 23 + 5
  61.   end if
  62.   if temp = 2 then
  63.     set the locV of sprite 23 to the locV of sprite 23 - 2
  64.   end if
  65.   if temp = 3 then
  66.     set the locH of sprite 23 to the locH of sprite 23 + 5
  67.   end if
  68.   if temp = 4 then
  69.     set the locH of sprite 23 to the locH of sprite 23 - 2
  70.   end if
  71.   if temp = 1 then
  72.     set the locV of sprite 24 to the locV of sprite 24 + 5
  73.   end if
  74.   if temp = 2 then
  75.     set the locV of sprite 24 to the locV of sprite 24 - 2
  76.   end if
  77.   if temp = 3 then
  78.     set the locH of sprite 24 to the locH of sprite 24 + 2
  79.   end if
  80.   if temp = 4 then
  81.     set the locH of sprite 24 to the locH of sprite 24 - 5
  82.   end if
  83.   go(the frame)
  84. end
  85.  
  86. on mouseUp
  87.   repeat with n = 24 down to 20
  88.     set the visible of sprite n to 1
  89.     puppetSprite(n, 0)
  90.   end repeat
  91.   go(25)
  92. end
  93.